<div class="view">
	<table>
		<tr>
		    <td width="100" rowspan="3" vlign="top">
			    <span class="left" style="padding-top:20px;">
					<input type="checkbox" name="comment-item" value="<?php echo $data->com_id;?>" />
				</span>
		    	&nbsp;
		    	<?php echo Comment::model()->getCommentIco($data);?>
		    </td>
		    <td>
				<span class="left">
					<?php echo CHtml::encode(Comment::model()->getCommentTitle($data)); ?>
				</span>
				<div class="left" style="width:100px;">	
		            <span class="left ui-icon ui-icon-pencil" title="edit" id="<?php echo $this->createUrl('update',array('id'=>$data->com_id));?>"  onclick="actionUpdate($(this));"></span>
		            <span class="left ui-icon ui-icon-zoomin" title="view" id="<?php echo $this->createUrl('/news/view',array('id'=>$data->com_id));?>"  onclick="actionView($(this));"></span>
		            <span class="left ui-icon ui-icon-trash" title="delete" id="<?php echo $this->createUrl('ajaxTrash',array('id'=>$data->com_id));?>"  onclick="actionTrash($(this));"></span>
	       		</div>		    
		    </td>
	  	</tr>
	  	<tr>
	    	<td>
				<?php echo CHtml::encode(UtilTools::strSlice($data->com_contents,0,250)); ?>
				<hr class="space" />
				<?php if($data->com_rid):?>
					<?php foreach ($data->comment as $item):?>					
						<?php //$this->renderPartial('/comment/_view2',array('data'=>$item));?>
						<?php //$this->renderPartial('_view',array('data'=>$item));?>
						<?php //UtilTools::dump($item->attributes);?>
					<?php endforeach;?>
					
					
				<?php endif;?>	    	
	    	</td>    
	  	</tr>
	  	<tr>
	  		<td>
	  			<div class="note">
	  				<?php echo $data->com_ip; ?>
	  			</div>
	  		</td>
	  	</tr>
	</table>
</div>